<template>
  <div>
  <div class="block">
    <el-carousel trigger="click" height="470px">
      <el-carousel-item v-for="(img,index) in carousel_images" :key="img+index">
        <el-image class="img" :src="img" />
      </el-carousel-item>
    </el-carousel>
  </div>
  <div id="introduction">
    <div class="introduction_block">
      <el-image :src='introduction_image01' style="float: left"/>
      <div class="content_section" style="left: 860px;">
        <h2 class="c-heading">XXX</h2>
        <div  class="c-paragraph">
          <p>
            XXXXXXXXXXXXXXXXXXXXXX
          </p>
        </div>
        <div class="link">
          <a href="https://www.microsoft.com/zh-CN/hololens/hardware">XXXXXXXXXXXXXXXXXXXXXX ></a>
        </div>
      </div>
    </div>
    <div class="introduction_block">
      <el-image :src='introduction_image02' style="float: right"/>
      <div class="content_section" style="left:25px">
        <h2 class="c-heading">XXXXXXXXXXXXXXX</h2>
        <div  class="c-paragraph">
          <p>
            借助 XXXXXXXXXXXXXXXXXXXX XXXX，立即体验混合现实。
          </p>
        </div>
        <div class="link">
          <a href="https://www.microsoft.com/zh-CN/hololens/apps">了解适用于 XXXXXXXXXXXXXXXXXXXXXX  XX ></a>
        </div>
      </div>
    </div>
    <div class="introduction_block">
      <el-image :src='introduction_image03' style="float: left"/>
      <div class="content_section" style="left: 860px">
        <h2 class="c-heading">使XXXXXXXX</h2>
        <div  class="c-paragraph">
          <p>
            XXXXXXXXXXXXXXXXXXXXXX。
          </p>
        </div>
        <div class="link">
          <a href="https://www.microsoft.com/zh-CN/hololens/developers">XXXXXXXXXXXXXXXXXXXXXX资源 </a>
        </div>
      </div>
    </div>
  </div>
  </div>
</template>

<script>
export default {
name: "index",
  data(){
    return{
      active_index:'1',
      carousel_images: [
      ],
      introduction_image01:'1',
      introduction_image02:'2',
      introduction_image03:'3',
    }
  },
}
</script>

<style scoped>
.el-carousel__item h3 {
  color: #475669;
  font-size: 14px;
  opacity: 0.75;
  line-height: 150px;
  margin: 0;
}
.img{
  width: 1200px;
  height: 470px;
}
.el-carousel__item:nth-child(2n) {
  background-color: #99a9bf;
}
.el-carousel__item:nth-child(2n+1) {
  background-color: #d3dce6;
}

#introduction{
  margin-top: 30px;
}
.introduction_block{
  width: 1200px;
  height: 415px;
  padding: 20px 0 40px 0;
  position: relative;
}
.introduction_block .el-image{
  width: 740px;
  height: 415px;
}
.content_section{
  width: 325px;
  height: 215px;
  text-align: left;
  padding: 50px 0;
  position: absolute;
}
.c-heading{
  font-size: 34px;
}
.c-paragraph{
  font-size: 15px;
  padding-top: 18px;
}
.link{
  margin-top: 14px;
  padding-top: 10px;
  padding-right: 3px;
}
.link>a{
  padding-bottom: 3px;
  font-size: 15px;
  color: #2C3E50;
  text-decoration: none;
  transition: 1s;
}
.link>a:hover{
  border-bottom: 2px solid #2c3e50;
}
</style>